package com.imot.service;

import com.imot.pojo.dto.FaultTestDto;
import com.imot.pojo.entity.EmaExceptionRecord;
import com.imot.response.Result;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Author:Qinning
 * @Date: 2023/11/7  16:59
 * @Version 1.0
 */
public interface EmaService {
    public Result getEmaState();

    public Result getEmaNow();

    public Result getEmaWaveData();

    public Result expDuration(LocalDate start, LocalDate end);

    public Result injectFault();

    public Result statusCheck();

    public Result runMonitoring();

    public Result monitorWave(String name);

    Result getFaultTest(FaultTestDto faultTestDto);

    Result deleteFaultTest(Integer id);

    Result updateFaultTest(Integer id, String faultRight);

    Result getHistoryData(FaultTestDto faultTestDto);

    Result getFaultHistoryStatus();

    Result getHistoryExceptionConfirmation(Integer emaExceptionId);

    Result getExceptionDetail(Integer id);

    Result getDescribeFault();

    Result updateExceptionHistoryData(EmaExceptionRecord emaExceptionRecord);

    Result getIp();
}
